"docstring" meaning in All languages combined

See docstring on Wiktionary

Noun [English]

Forms: docstrings [plural]
Etymology: From doc + string; see doc (“documentation”). Etymology templates: {{compound|en|doc|string}} doc + string Head templates: {{en-noun}} docstring (plural docstrings)
  1. (programming) A string literal specified in source code that is used, like a comment, to document a specific segment of code, but remains available at run-time. Categories (topical): Programming Related terms: here document

Inflected forms

{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "doc",
        "3": "string"
      },
      "expansion": "doc + string",
      "name": "compound"
    }
  ],
  "etymology_text": "From doc + string; see doc (“documentation”).",
  "forms": [
    {
      "form": "docstrings",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "docstring (plural docstrings)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Entries with translation boxes",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "glosses": [
        "A string literal specified in source code that is used, like a comment, to document a specific segment of code, but remains available at run-time."
      ],
      "id": "en-docstring-en-noun-xAkVg72C",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "string",
          "string"
        ],
        [
          "literal",
          "literal"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "comment",
          "comment"
        ],
        [
          "run-time",
          "run-time"
        ]
      ],
      "raw_glosses": [
        "(programming) A string literal specified in source code that is used, like a comment, to document a specific segment of code, but remains available at run-time."
      ],
      "related": [
        {
          "word": "here document"
        }
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "docstring"
}
{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "doc",
        "3": "string"
      },
      "expansion": "doc + string",
      "name": "compound"
    }
  ],
  "etymology_text": "From doc + string; see doc (“documentation”).",
  "forms": [
    {
      "form": "docstrings",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "docstring (plural docstrings)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "here document"
    }
  ],
  "senses": [
    {
      "categories": [
        "English compound terms",
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English nouns",
        "Entries with translation boxes",
        "Pages with 1 entry",
        "Pages with entries",
        "Translation table header lacks gloss",
        "en:Programming"
      ],
      "glosses": [
        "A string literal specified in source code that is used, like a comment, to document a specific segment of code, but remains available at run-time."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "string",
          "string"
        ],
        [
          "literal",
          "literal"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "comment",
          "comment"
        ],
        [
          "run-time",
          "run-time"
        ]
      ],
      "raw_glosses": [
        "(programming) A string literal specified in source code that is used, like a comment, to document a specific segment of code, but remains available at run-time."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "docstring"
}

Download raw JSONL data for docstring meaning in All languages combined (1.4kB)


This page is a part of the kaikki.org machine-readable All languages combined dictionary. This dictionary is based on structured data extracted on 2024-12-21 from the enwiktionary dump dated 2024-12-04 using wiktextract (d8cb2f3 and 4e554ae). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.